MailPoet\Services\Bridge\API A

Total Complexity 73
Dependencies 3
Dependents 6
Total lines 444
Lines of code 303
Logical lines of code 162
Comment lines 33
Methods 23
Properties 12

Methods 23

Method Rating Maintainability Complexity Lines of code
getTranslatedErrorMessage()
B
46 17 38
verifyAuthorizedSenderDomain()
A
48 8 32
createAuthorizedSenderDomain()
S
50 6 26
createAuthorizedEmailAddress()
S
53 5 21
checkKey()
S
51 4 27
sendMessages()
S
51 4 26
getAuthorizedSenderDomains()
S
58 3 17
updateSubscriberCount()
S
57 3 17
logCurlError()
S
65 4 8
getAuthorizedEmailAddresses()
S
62 3 12
request()
S
60 2 13
__construct()
S
66 2 9
checkBounces()
S
64 2 10
checkMSSKey()
S
80 1 3
setKey()
S
81 1 3
getKey()
S
82 1 3
setCurlHandle()
S
81 1 3
auth()
S
79 1 3
logCurlInformation()
S
71 1 6
checkPremiumKey()
S
80 1 3
logKeyCheckError()
S
67 1 8
logInvalidDataFormat()
S
68 1 7
createErrorResponse()
S
67 1 8